//
//  NetworkCommand.h
//  ZhangJiangJun
//
//  Created by FENGYL on 2017/1/18.
//  Copyright © 2017年 FENGYL. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetworkCommand : NSObject

//登录
+(void)userLoginUserName:(NSString *)userName password:(NSString *)password success:(void(^)())success failure:(void(^)())failure;

//获取所以设备
+(void)getDeviceListSuccess:(void(^)())success failure:(void(^)())failure;

//获取时间段内警报
+(void)getHistoryEventDataByTime:(NSDate *)date success:(void(^)())success failure:(void(^)())failure;

//上锁解锁
+(void)stampIsUnlock:(BOOL)isUnlock stampCount:(NSString *)stampCount time:(NSString *)time success:(void(^)())success failure:(void(^)())failure;

//获取报警地点
+(void)getDeviceLocationByTime:(NSDate *)date Success:(void (^)())success failure:(void (^)())failure;

+ (NSString *)TimestampChangeTimestr:(NSString *)Timestamp;
+(NSNumber *)getTimeStampForDateString:(NSString *)dateString;
+ (NSString *)getUniqueStrByUUID;

@end
